/**
 * @file         shell.h
 * @brief        This is a brief description.
 * @details      This is the detail description.
 * @author   fulong
 * @date     Apr 24, 2014,2014
 * @version   1.0
 * @par Copyright (c):
 *       GPLv2
 * @par History:
 *   version: fulong  Apr 24, 2014,2014
 */

#ifndef SHELL_H_
#define SHELL_H_
#include "../hal_include/hal_types.h"
#define v_sh_with 3
#define v_sh_length 12

#define HELP_CODE 0x10
#define EXIT_CODE 0x20

#define DIS_CODE 0x30
#define LINE_DIS 1
#define NUM_DIS 0

#define SAVE_CODE 0x40
#define SAVE_ON 1
#define SAVE_OFF 0


extern void shell_init(void);
extern uint8 get_shell_on(void);
extern void shell_start(void);
extern void enter_shell(const uint8* cmd);


#endif /* SHELL_H_ */
